package io.gitee.devaper.starlight.common.holder

import com.fasterxml.jackson.databind.ObjectMapper

object ObjectMapperHolder : Holder<ObjectMapper> {

    private lateinit var objectMapper: ObjectMapper

    override fun init(data: ObjectMapper) {
        objectMapper = data
    }

    override fun get(): ObjectMapper {
        return objectMapper
    }
}